package cn.edu.htu.entity;

import java.io.Serializable;

/**
 * 描述: Dept
 *
 * @Package cn.edu.htu.entity
 * @Author dakai
 * @Data 2021/7/8 14:03
 * @Version V1.0
 * Excitation 将来的你，一定会感谢现在的你
 */
//实现Serializable，解决序列化问题
public class Dept implements Serializable {
    private Integer id;
    private String deptname;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "id=" + id +
                ", deptname='" + deptname + '\'' +
                '}';
    }
}
